package com.pxmeta.party.entity;


import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@TableName("kt_user_turntable_number")
@ApiModel(value = "抽奖个人池", description = "抽奖个人池")
@Data
public class UserTurntableNumber implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "转盘类型")
    private Integer lotteryType;

    @ApiModelProperty(value = "消费金额")
    private BigDecimal consumeNumber;

    @ApiModelProperty(value = "十连抽次数")
    private Integer tenLotteryCount;

    @ApiModelProperty(value = "单点次数")
    private Integer singlePointCount;

    @ApiModelProperty(value = "奖励金额")
    private BigDecimal giftNumber;

    @ApiModelProperty(value = "抽奖次数")
    private Integer lotteryCount;

    @ApiModelProperty(value = "次数")
    private Integer count;

    @ApiModelProperty(value = "下次必中礼物id")
    private Integer nextWinGift;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

}
